﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.IRepository.SystemSettings.CommonlyUsedSettings;
using SystemCenterSoa.PoModel.SystemSettings.CommonlyUsedSettings;

namespace SystemCenterSoa.Service.SystemSettings.CommonlyUsedSettings
{
     public  class IntroductionPersonnelSalaryService
    {

        private IIntroductionPersonnelSalaryRepository _iIntroductionPersonnelSalaryRepository;

        public IntroductionPersonnelSalaryService(IIntroductionPersonnelSalaryRepository iIntroductionPersonnelSalaryRepository)
        {
            _iIntroductionPersonnelSalaryRepository = iIntroductionPersonnelSalaryRepository;
        }

        public object GetDropDown()
        {
         return   _iIntroductionPersonnelSalaryRepository.GetDropDown();
        }


        public int IntroductionPersonnelSalaryAdd(IntroductionPersonnelSalaryPo form)
        {
            return _iIntroductionPersonnelSalaryRepository.IntroductionPersonnelSalaryAdd(form);
        }
        public List<IntroductionPersonnelSalaryPo> SearchPage(string depname, int year, int month)
        {
            return _iIntroductionPersonnelSalaryRepository.SearchPage(depname,year,month);
        }


    }
}
